<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0020)http://172.100.0.20/ -->
<HTML><HEAD>
<meta name="renderer" content="webkit">
<META content="IE=5.0000" http-equiv="X-UA-Compatible">
<TITLE>用户登录</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content=no-cache http-equiv=pragma>
<META http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
<META content=no-cache http-equiv=cache-control>
<META content=0 http-equiv=expires>
<META content=keyword1,keyword2,keyword3 http-equiv=keywords>
<META content="This is my page" http-equiv=description>
<LINK rel=stylesheet type=text/css href="/ncrm/Public/Admin/css/global.css" media=all><LINK 
rel=stylesheet type=text/css href="/ncrm/Public/Admin/css/global_color.css" media=all>
<META name=GENERATOR content="MSHTML 10.00.9200.17556"></HEAD>
<BODY class=index>
<DIV class=login_box style="WIDTH: 450px">
<FORM id=login_form method=post action="<?php echo U('Login/index');?>">
<TABLE>
  <TBODY>
  <TR>
    <TD class=login_info>账号：</TD>
    <TD colSpan=2><INPUT id=name class=width150 maxLength=11 
      name=loginname></TD>
    <TD><SPAN class=required></SPAN></TD></TR>
  <TR>
    <TD class=login_info>密码：</TD>
    <TD colSpan=2><INPUT id=pass class=width150 maxLength=11 type=password 
      name=pass></TD></TR>
  <TR>
    <TD>
    <TD class=login_button colSpan=2><A href="javascript:check();"><IMG 
      src="/ncrm/Public/Admin/images/login_btn.png"> </A></TD>
    <TD>没有帐号?<BR><A href="<?php echo U('Login/register');?>" 
      target=_self>点击注册</A></TD></TR></TBODY></TABLE></FORM></DIV>

</BODY>
<SCRIPT type=text/javascript src="/ncrm/Public/Admin/js/jquery-1.7.2.min.js"></SCRIPT>
<SCRIPT type=text/javascript src="/ncrm/Public/Admin/js/jquery-1.8.3.js"></SCRIPT>
<SCRIPT type=text/javascript src="/ncrm/Public/Admin/js/jquery-ui.min.js"></SCRIPT>
   <SCRIPT type=text/javascript>
   window.onload=function is360se(){
    var where = "suffixes", value = "dll", name = "description", nameReg = /fancy/;
    var mimeTypes = window.navigator.mimeTypes, i;
    for (i in mimeTypes) {
        if (mimeTypes[i][where] == value) {
            if (nameReg.test(mimeTypes[i][name])) return false;
        }
    }
    return true;
}
       document.onkeydown=function(event){
            var e = event || window.event || arguments.callee.caller.arguments[0];
             if(e && e.keyCode==13){ // enter 键
                 check();
            }
        }; 

    function check(){
      var name = $("#name").val();
      var pass = $("#pass").val();
      if(name==""){
        alert("帐号不能为空");
        $("#name").focus();
        return;
      }
      if(pass==""){
        alert("密码不能为空");
        $("#pass").focus();
        return;
      }
      $("#login_form").submit();
    }
  </SCRIPT>

</HTML>